<html>
	<body>
			<canvas id="myCanvas" width="800" height="600" style="border: 1px solid #000000;"></canvas>
			
			<script src="Graphics.js"></script>
			
			<script src="Sleep.js"></script>
			
			<script src="KeyboardManager.js"></script>
			<script src="MouseManager.js"></script>
			
			<script src="GameObject.js"></script>
			
			<script src="Background.js"></script>
			<script src="Player.js"></script>
			<script src="Windows.js"></script>
			
			<script src="Opening.js"></script>
			<script src="Credits.js"></script>
			<script src="Intro.js"></script>
			<script src="History.js"></script>
			<script src="Game.js"></script>
			<script src="GameOver.js"></script>
			
			<script src="SceneManager.js"></script>
			<script src="AudioManager.js"></script>
			
				<script>
					
					function Timer()
					{
						background.update();
						
						setTimeout(Timer, 1000);
					}
					
					Timer();
					
				</script>
			
				<script>
					
					function Loop()
					{
						if(sceneManager.loop)
						{
							graphics.clear();
							
							audio.update();
							
							sceneManager.update();
							sceneManager.draw();
						}
												
						setTimeout(Loop, 16);
					}
					
					Loop();
					Audio();
					
				</script>
	</body>
</html>